<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="./main.css">
</head>
<body>
    <div class="box">
      <p>这是p标签</p>
      <ul>
        <li>1</li>
        <li>2</li>
        <li>3</li>
      </ul>
    </div>
</body>
</html>
<!-- <script>
  function jsonp(data){
    console.log(data);
  }
</script>
<script src="http://localhost:8080/"></script> -->
<script src="./student.json"></script>

<script>
    


  // const xhr = new XMLHttpRequest();
  // function ajax(fn){
  //     xhr.open("get","http://localhost:8080/",true);
  //     xhr.send();
  //     xhr.onload = function(){
  //       fn(xhr.response)
  //       // console.log(xhr.response);
  //     }
    
  //   }
  //   ajax((data)=>{
  //     console.log(data);
  //   })

</script>